package com.wxmp.wxcms.constants;

import com.wxmp.core.util.PropertiesUtil;

/**
 * 读取配置文件，变成常量的类
 */
public class ReaderPropertiesConstant {

    public static String  LOCAL_EVN = "local";
    public static String  ONLINE_EVN = "online";

    public static  String UPLOAD = PropertiesUtil.getString("upload");
    /**
     * 环境变量
     */
    public static  String EVN = PropertiesUtil.getString("evn");

    /**
     * 本地上传文件路径
     */
    public static  String LOCAL_RES_UPLOAD_PATH = PropertiesUtil.getString("local.res.upload.path");

    /**
     * 线上文件上传路径
     */
    public static  String ONLINE_RES_UPLOAD_PATH = PropertiesUtil.getString("online.res.upload.path");

    /**
     * 本地上传后URL前缀
     */
    public static  String LOCAL_RES_UPLOAD_URL = PropertiesUtil.getString("local.res.upload.url");

    /**
     * 线上上传后URL前缀
     */
    public static  String ONLINE_RES_UPLOAD_URL = PropertiesUtil.getString("online.res.upload.url");

    /**
     * URL+img+imgName.jpg
     */
    public static  String IMG_MAPPING_PATH = PropertiesUtil.getString("img_mapping_path");


    public  static  String LOCAL_FILE_LOCAL_UPLOAD_PATH_NAME = PropertiesUtil.getString("local.file.local.upload.path.name");

    public  static  String ONLINE_FILE_LOCAL_UPLOAD_PATH_NAME = PropertiesUtil.getString("online.upload.path.name");


    public  static  String LOCAL_BASE_PATH = PropertiesUtil.getString("local.res.base.path");
    public  static  String ONLINE_BASE_PATH = PropertiesUtil.getString("online.res.base.path");



}
